package module;

import java.io.Serializable;

/**
 * @author 长风无言
 */
public class Message implements Serializable {
    private static final long serialVersionUID = -1225113970581096678L;

    private String CheckFlag;
    private User User;

    public Message() {
    }

    public Message(String checkFlag, module.User user) {
        this.CheckFlag = checkFlag;
        this.User = user;
    }

    public String getCheckFlag() {
        return CheckFlag;
    }

    public void setCheckFlag(String checkFlag) {
        CheckFlag = checkFlag;
    }

    public module.User getUser() {
        return User;
    }

    public void setUser(module.User user) {
        User = user;
    }

    @Override
    public String toString() {
        return "Message{" +
                "CheckFlag='" + CheckFlag + '\'' +
                ", User=" + User +
                '}';
    }
}
